package com.enjoyor.soa.traffic.api.dto.gps;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 报警信息
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class AlarmDto implements Serializable  {
	private static final long serialVersionUID = 1L;
	
	private String id;			//id
	private String locid;		//定位标识
	private Double longitude;	//经度
	private Double latitude;	//纬度
	private Double speed;		//速度
	private Double direction;	//方向
	private Double altitude;	//高程
	private Date alarmTime;		//报警时间
	private Date startTime;		//报警时间
	private Date endTime;		//报警时间
	private String transboundaryIds;//围栏ID
	private Integer alarmType;		//报警类型(AlarmTypeEnum 中的值)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLocid() {
		return locid;
	}
	public void setLocid(String locid) {
		this.locid = locid;
	}
	public Double getLongitude() {
		return longitude;
	}
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	public Double getLatitude() {
		return latitude;
	}
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	public Double getSpeed() {
		return speed;
	}
	public void setSpeed(Double speed) {
		this.speed = speed;
	}
	public Double getDirection() {
		return direction;
	}
	public void setDirection(Double direction) {
		this.direction = direction;
	}
	public Double getAltitude() {
		return altitude;
	}
	public void setAltitude(Double altitude) {
		this.altitude = altitude;
	}
	public Date getAlarmTime() {
		return alarmTime;
	}
	public void setAlarmTime(Date alarmTime) {
		this.alarmTime = alarmTime;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getTransboundaryIds() {
		return transboundaryIds;
	}
	public void setTransboundaryIds(String transboundaryIds) {
		this.transboundaryIds = transboundaryIds;
	}
	public Integer getAlarmType() {
		return alarmType;
	}
	public void setAlarmType(Integer alarmType) {
		this.alarmType = alarmType;
	}
}
